package com.example.demo.friendship.model.mongodb;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "friend_relation")
public class FriendRelation {

    private Friend friendLeft;

    private Friend friendRight;

    // 0
    // 1 好友
    // 2 left 请求
    // 3 right 请求
    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Friend getFriendLeft() {
        return friendLeft;
    }

    public void setFriendLeft(Friend friendLeft) {
        this.friendLeft = friendLeft;
    }

    public Friend getFriendRight() {
        return friendRight;
    }

    public void setFriendRight(Friend friendRight) {
        this.friendRight = friendRight;
    }
}
